/**
 *      when sys_fl_task.NODE_GUID='{7A008120-872D-45BE-BBB1-9324172E9CA0}' then '许可证变更'
        when sys_fl_task.NODE_GUID='{B8F7EDE2-6F94-4537-A99E-F147C47C24B9}' then '许可证延期'
        when sys_fl_task.NODE_GUID='{F81FCB82-7196-4E94-BFF5-159E1CEBEFF8}' then '预约现场放样'
        when sys_fl_task.NODE_GUID='{E349B5CD-E963-4A17-ABE4-258EF79C55F2}' then '预约现场放样'
        when sys_fl_task.NODE_GUID='{F81FCB82-7196-4E94-BFF5-159E1CEBEFF8}' then '预约基槽验线'
        when sys_fl_task.NODE_GUID='{10BAEA52-EDDE-48C7-97AD-C211D272010E}' then '预约一层立模'
        when sys_fl_task.NODE_GUID='{C89D1E12-1303-482F-BB9E-45457905C759}' then '预约竣工验收'
        when sys_fl_task.NODE_GUID='{1055401E-8D9C-4AA8-AE67-394146C627FA}' then '图集选用'
        施工备案申请	{FEF0E7B0-F048-42E0-998E-06387B0D03DB}
        现场放样申请	{E349B5CD-E963-4A17-ABE4-258EF79C55F2}
	{FEF0E7B0-F048-42E0-998E-06387B0D03DB}
	{7A008120-872D-45BE-BBB1-9324172E9CA0}
	{B8F7EDE2-6F94-4537-A99E-F147C47C24B9}
基槽验线申请	{F81FCB82-7196-4E94-BFF5-159E1CEBEFF8}
一层立模申请	{10BAEA52-EDDE-48C7-97AD-C211D272010E}
竣工验收申请	{C89D1E12-1303-482F-BB9E-45457905C759}
选择施工单位及签合同	{FEF0E7B0-F048-42E0-998E-06387B0D03DB}
	{E349B5CD-E963-4A17-ABE4-258EF79C55F2}
	{7A008120-872D-45BE-BBB1-9324172E9CA0}
	{B8F7EDE2-6F94-4537-A99E-F147C47C24B9}

 */
export const getTaskName = (nodeGuid, bolloe) => {
  if (nodeGuid === '{FEF0E7B0-F048-42E0-998E-06387B0D03DB}') {
    if (bolloe) {
      return ['施工备案申请', '预约定位放样']
    } else {
      return ['施工备案申请', '预约定位放样', '选择施工单位&&合同签订']
    }
  } else if (nodeGuid === '{E349B5CD-E963-4A17-ABE4-258EF79C55F2}' || nodeGuid === '{7A008120-872D-45BE-BBB1-9324172E9CA0}' || nodeGuid === '{B8F7EDE2-6F94-4537-A99E-F147C47C24B9}') {
    if (bolloe) {
      return ['预约定位放样']
    } else {
      return ['预约定位放样', '选择施工单位&&合同签订']
    }
  } else if (nodeGuid === '{F81FCB82-7196-4E94-BFF5-159E1CEBEFF8}' || nodeGuid === '{FB74960E-0585-4B35-842F-D5DDEF3E00F3}') {
    return ['预约基槽验线']
  } else if (nodeGuid === '{10BAEA52-EDDE-48C7-97AD-C211D272010E}') {
    return ['预约一层立模']
  } else if (nodeGuid === '{C89D1E12-1303-482F-BB9E-45457905C759}') {
    return ['预约竣工验收']
  } else if (nodeGuid === '{1055401E-8D9C-4AA8-AE67-394146C627FA}') {
    return ['图集选用']
  } else {
    return ['未知任务']
  }
}
// const nodeGuid = '{7A008120-872D-45BE-BBB1-9324172E9CA0}';
// const taskName = getTaskName(nodeGuid);
// console.log(taskName);
